import { createStore } from 'vuex';

export default createStore({
  state: {
    isEditMode: false,
  },
  mutations: {
    toggleEditMode(state) {
      state.isEditMode = !state.isEditMode;
    },
  },
});